/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package Entities;

/**
 *
 * @author Антон
 */
public class LinkExecutorWithInstrumentAndComposition extends BaseEntity {
// TODO Добавить конфиг

    private ExecutorWithInstrument executorwithinstrument;
    private Composition composition;

    public LinkExecutorWithInstrumentAndComposition(){
        super();
        executorwithinstrument = null;
        composition = null;
    }
     public LinkExecutorWithInstrumentAndComposition(ExecutorWithInstrument executorwithinstrument, Composition composition)
     {
        super("Сущность связь Исполнитель с инструментом и Композиция");
        this.executorwithinstrument = executorwithinstrument;
        this.composition = composition;
    }

    public ExecutorWithInstrument get_executorwithinstrument() {
        return executorwithinstrument;
    }

    public void set_executorwithinstrument(ExecutorWithInstrument executorwithinstrument) {
        this.executorwithinstrument = executorwithinstrument;
    }

    public Composition get_composition() {
        return composition;
    }

    public void set_composition(Composition composition) {
        this.composition = composition;
    }     
}
